package com.smartEdu.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import com.smartEdu.dao.QuestionDao;
import com.smartEdu.mapper.QuestionMapper;
import com.smartEdu.model.QuestionModel;
@Repository(value="questionDaoImpl")
public class QuestionDaoImpl implements QuestionDao{
	@Autowired(required=false)
	@Qualifier("questionMapper")
	private QuestionMapper questionMapper;
	
	@Override
	public List<QuestionModel> getQuestionById(String tableName, List<String> questlist) {
		return questionMapper.getQuestionById(tableName, questlist);
	}

}
